package com.whcoding.mybatis.page.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 用户实体类
 * </p>
 *
 * @author: whcoding
 * @create: 2022-03-04 17:27
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Table(name = "orm_dept")
public class OrmDeptPO implements Serializable {
	/**
	 * 主键
	 */
	@Id
	@KeySql(useGeneratedKeys = true)
	private Long id;
	private Integer deptId;
	private String deptNo;
	private Integer deptType;
	private String deptName;
	private Date createTime;
	private Date updateTime;
	private BigDecimal deptPerf;
	private Integer isValidFlag;
	private String shortName;
	private String remark;
}
